﻿using System.ComponentModel.DataAnnotations;

namespace Model.Entity.Type
{
    /// <summary>
    /// 会员类型表
    /// </summary>
    public class TB_MemberType : EntityBase
    {
        /// <summary>
        /// 名称(16)
        /// </summary>
        [Required, MaxLength(16)]
        public string Name { get; set; }
        /// <summary>
        /// 代码(16)
        /// </summary>
        [Required, MaxLength(16)]
        public string Code { get; set; }
        /// <summary>
        /// 描述(128)
        /// </summary>
        [MaxLength(128)]
        public string? Description { get; set; }
    }
}
